package com.zaoniao.enstudy.infrastructure.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 用户考试题目表
 * z_exam_words
 */
@Data
@Table(name = "z_exam_words")
public class ExamWordsPo implements Serializable {
    /**
     * 主键id
     */
    @Id
    private Integer id;

    /**
     * 单词（不可重复新增）
     */
    private String word;

    /**
     * 选项A
     */
    @Column(name = "option_a")
    private String optionA;

    /**
     * 选项B
     */
    @Column(name = "option_b")
    private String optionB;

    /**
     * 选项C
     */
    @Column(name = "option_c")
    private String optionC;

    /**
     * 选项D
     */
    @Column(name = "option_d")
    private String optionD;

    /**
     * 正确选项
     */
    @Column(name = "true_result")
    private String trueResult;

    /**
     * 创建人
     */
    @Column(name = "create_user")
    private String createUser;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 更新人
     */
    @Column(name = "update_user")
    private String updateUser;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 状态：1-有效；0-无效
     */
    private String status;

    private static final long serialVersionUID = -1L;
}